package com.yimi.policyservice.dto.user;

import com.yimi.policyservice.entity.base.system.SysMenu;
import com.yimi.policyservice.entity.base.system.SysPermission;

import java.util.ArrayList;
import java.util.List;

public class UserLogin4Get {
    private UserLoginInfo user ;
    private String token ;
    private List<SysPermission> permissionList ;
    private List<SysMenu> sysMenus =new ArrayList<>();
    private String roles ;
    private String rootKey;

    public UserLoginInfo getUser() {
        return user;
    }

    public void setUser(UserLoginInfo user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<SysPermission> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<SysPermission> permissionList) {
        this.permissionList = permissionList;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public List<SysMenu> getSysMenus() {
        return sysMenus;
    }

    public void setSysMenus(List<SysMenu> sysMenus) {
        this.sysMenus = sysMenus;
    }

    public String getRootKey() {
        return rootKey;
    }

    public void setRootKey(String rootKey) {
        this.rootKey = rootKey;
    }
}
